package hc.bre.clas.abtest

import hc.bre.clas.ClasBuilder
import hc.bre.clas.branch.BranchDefinition

@groovy.transform.CompileStatic
class AbtestBuilder extends ClasBuilder<AbtestDefinition>{

	@Override
	public String rangeVariable() {
		ruleDef.variableId > 0 ? ruleOfVariable.accessRouteOf(ruleDef.variableId):"((int)(Math.random()*9999) % 1000)";
	}
}
